/**
 * 
 */
package com.jfinal.aop.controller;

import org.springframework.beans.factory.annotation.Autowired;

import com.jfinal.aop.annotation.AopBean;
import com.jfinal.aop.service.DemoService;
import com.jfinal.aop.service.SpringService;
import com.jfinal.core.Controller;

/**
 * @author zengjintao
 * @version 1.0
 * @create_at 2017年9月29日下午8:25:52
 */
public class DemoController extends Controller {

	@AopBean
	private DemoService demoService;
	
	@Autowired
	private SpringService springService;//使用spring注入
	
	public void index(){
		springService.spring();
		demoService.print();
	}
}
